package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 试验阶段指令记录
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_system_ttagerecord_dd")
@ApiModel(value="TbSystemTtagerecordDd对象", description="试验阶段指令记录")
public class TbSystemTtagerecordDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "时间")
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss",
		timezone = "GTM+8"
	)
	private Date time;

	@ApiModelProperty(value = "试验id")
	@TableField(value = "trialId")
	private String trialId;

	@ApiModelProperty(value = "阶段id")
	@TableField(value = "stageId")
	private String stageId;

	@ApiModelProperty(value = "子阶段id")
	@TableField(value = "commandId")
	private String commandId;

	@ApiModelProperty(value = "子阶段命令")
	@TableField(value = "command")
	private String command;

	@ApiModelProperty(value = "动画是否循环")
	@TableField(value = "`loop`")
	private Integer loop;

	@ApiModelProperty(value = "备注")
	@TableField(value = "remark")
	private String remark;

	@ApiModelProperty(value = "阶段值")
	@TableField(value = "stageKey")
	private Integer stageKey;

   /* @ApiModelProperty(value = "试验id")
    private String trialId;

    @ApiModelProperty(value = "阶段id")
    private String stageId;

    @ApiModelProperty(value = "子阶段id")
    private String commandId;

    @ApiModelProperty(value = "子阶段命令")
    private String command;

    private String remark;

    private Integer stageKey;*/


}
